Piwik\DbHelper S

Total Complexity 49
Dependencies 8
Dependents 56
Total lines 320
Lines of code 132
Logical lines of code 68
Comment lines 160
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
addOriginHintToQuery()
A
53 12 20
getDefaultCharset()
S
58 6 15
addJoinPrefixHintToQuery()
S
63 3 10
dropDatabase()
S
73 3 5
isInstalled()
S
69 2 7
deleteArchiveTables()
S
67 2 7
wasMatomoInstalledBeforeVersion()
S
68 2 7
getUtf8mb4ConversionQueries()
S
66 2 8
getTablesInstalled()
S
80 1 3
tableHasIndex()
S
73 1 4
addMaxExecutionTimeHintToQuery()
S
79 1 3
getTableCreateSql()
S
80 1 3
getTablesCreateSql()
S
80 1 3
checkDatabaseVersion()
S
79 1 3
createDatabase()
S
80 1 3
disconnectDatabase()
S
79 1 3
tableExists()
S
72 1 4
createTables()
S
81 1 3
getInstallVersion()
S
79 1 3
recordInstallVersion()
S
81 1 3
createAnonymousUser()
S
81 1 3
truncateAllTables()
S
81 1 3
createTable()
S
79 1 3
getTableColumns()
S
80 1 3
isValidDbname()
S
78 1 3